﻿using System;

namespace BorgExt
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class ExtensionAttribute : Attribute
    {
        internal string Name { get; set; }

        public string OnCreated { get; set; }
        public string OnDestroyed { get; set; }

        public ExtensionAttribute()
        { }

        public ExtensionAttribute(string name)
        {
            Name = name;
        }
    }
}

